﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Tecnicas.CasoEstudio.Repositorio
{
    [Serializable]
    public class RepositorioItem
    {
        public RepositorioItem(object obj, long? id, object version) 
        {
            this.item = obj;
            this.id = id;
            this.version = version;
            this.TypeName = obj.GetType().FullName;
            this.AssemblyName = obj.GetType().Assembly.FullName;
        }

        private object item;
        public object Item
        {
            get { return this.item; }
            set { this.item = value; }
        }


        private object version;
        public object Version
        {
            get { return this.version; }
            set { this.version = value; }
        }

        private long? id;
        public long? Id
        {
            get { return this.id; }
            set { this.id = value; }
        }

        private object typeName;
        public object TypeName
        {
            get { return this.typeName; }
            set { this.typeName = value; }
        }

        private object assemblyName;
        public object AssemblyName
        {
            get { return this.assemblyName; }
            set { this.assemblyName = value; }
        }
    }
}
